package com.siwei.mes.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * 试验台账与任务关系(ExperimentTask)实体类
 *
 * @author linzi
 * @since 2023-12-18 22:11:48
 */
@Data
@Accessors(chain = true)
@Table(name = "t_experiment_task")
@ApiModel(value = "ExperimentTask", description = "试验台账与任务关系")
public class ExperimentTask implements Serializable {
    private static final long serialVersionUID = 153663925250070366L;
    /**
     * 主键id
     */
    @Id
    @ApiModelProperty(value = "试验台账与任务关系主键ID", name = "id")
    private Long id;
    /**
     * 试验台账id
     */
    @Column(name = "experiment_id")
    @ApiModelProperty(value = "试验台账id", name = "experimentId")
    private Long experimentId;
    /**
     * 任务id
     */
    @Column(name = "task_id")
    @ApiModelProperty(value = "任务id", name = "taskId")
    private Long taskId;
}
